var theme ='ios';
var app = new Framework7({
	cache:false,
	dialog:{
		title : '提示' ,
		buttonOk : '确定' ,
		buttonCancel : '取消' ,
	},
	// theme:theme,
	router : false,
	cacheIgnore:'',
	// root:'#app'
});
var mainView = app.views.create('.view-main');
var $$ = Dom7;
function isTel( str ) {  
  	var myreg=/^[1][3,4,5,7,8,9,6][0-9]{9}$/;  
  	if (!myreg.test(str)) {  
      	return false;  
  	} else {  
      	return true;  
  	}	  
}  

function messageToast( message ){
	var toastCenter = app.toast.create({text: message,position: 'center',closeTimeout: 2000});
	toastCenter.open();
}